
package net.tecdoc.cat.client;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for ArticleLinkageRecord complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="ArticleLinkageRecord">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="linkageTargetTypeId" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         &lt;element name="linkageTargetId" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         &lt;element name="legacyArticleLinkId" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         &lt;element name="genericArticleId" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         &lt;element name="genericArticleDescription" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="linkageCriteria" type="{http://server.cat.tecdoc.net}CriteriaRecord" maxOccurs="unbounded" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ArticleLinkageRecord", propOrder = {
    "linkageTargetTypeId",
    "linkageTargetId",
    "legacyArticleLinkId",
    "genericArticleId",
    "genericArticleDescription",
    "linkageCriteria"
})
public class ArticleLinkageRecord {

    protected int linkageTargetTypeId;
    protected int linkageTargetId;
    protected int legacyArticleLinkId;
    protected int genericArticleId;
    @XmlElement(required = true)
    protected String genericArticleDescription;
    protected List<CriteriaRecord> linkageCriteria;

    /**
     * Gets the value of the linkageTargetTypeId property.
     * 
     */
    public int getLinkageTargetTypeId() {
        return linkageTargetTypeId;
    }

    /**
     * Sets the value of the linkageTargetTypeId property.
     * 
     */
    public void setLinkageTargetTypeId(int value) {
        this.linkageTargetTypeId = value;
    }

    /**
     * Gets the value of the linkageTargetId property.
     * 
     */
    public int getLinkageTargetId() {
        return linkageTargetId;
    }

    /**
     * Sets the value of the linkageTargetId property.
     * 
     */
    public void setLinkageTargetId(int value) {
        this.linkageTargetId = value;
    }

    /**
     * Gets the value of the legacyArticleLinkId property.
     * 
     */
    public int getLegacyArticleLinkId() {
        return legacyArticleLinkId;
    }

    /**
     * Sets the value of the legacyArticleLinkId property.
     * 
     */
    public void setLegacyArticleLinkId(int value) {
        this.legacyArticleLinkId = value;
    }

    /**
     * Gets the value of the genericArticleId property.
     * 
     */
    public int getGenericArticleId() {
        return genericArticleId;
    }

    /**
     * Sets the value of the genericArticleId property.
     * 
     */
    public void setGenericArticleId(int value) {
        this.genericArticleId = value;
    }

    /**
     * Gets the value of the genericArticleDescription property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getGenericArticleDescription() {
        return genericArticleDescription;
    }

    /**
     * Sets the value of the genericArticleDescription property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setGenericArticleDescription(String value) {
        this.genericArticleDescription = value;
    }

    /**
     * Gets the value of the linkageCriteria property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the linkageCriteria property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getLinkageCriteria().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link CriteriaRecord }
     * 
     * 
     */
    public List<CriteriaRecord> getLinkageCriteria() {
        if (linkageCriteria == null) {
            linkageCriteria = new ArrayList<CriteriaRecord>();
        }
        return this.linkageCriteria;
    }

}
